<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>knet: krpc_call</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">knet
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>结构体</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e74998c9a9305a116abc25fcf9a1edb.html">knet-git</a></li><li class="navelem"><a class="el" href="dir_a1c045b39f32066568ae964b52db514f.html">knet</a></li><li class="navelem"><a class="el" href="dir_f76d03789f0b12416cfffea59e2ed47d.html">knet</a></li><li class="navelem"><a class="el" href="a00066.html">rpc.c</a></li>  </ul>
</div>
</div><!-- top -->
<div class="contents">
<table cellspacing="0" cellpadding="0" border="0">
  <tr>
   <td valign="top">
      <div class="navtab">
        <table>
          <tr><td class="navtab"><a class="qindex" href="a00066_a962a9e0f2aa7e697177cd59af327729a.html#a962a9e0f2aa7e697177cd59af327729a">_krpc_call</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a481fc218a988b1d8a3736ae17dd0f99f.html#a481fc218a988b1d8a3736ae17dd0f99f">_krpc_call_encrypt</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a4045ccaf4758dcf838a88a58c73e462b.html#a4045ccaf4758dcf838a88a58c73e462b">_krpc_call_type_e</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_ab51c5d23d5a897a8f1fdb97f5b6c79c2.html#ab51c5d23d5a897a8f1fdb97f5b6c79c2">_krpc_proc</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a8570b46c2568409656f216a5af1bd287.html#a8570b46c2568409656f216a5af1bd287">_krpc_proc_decrypt</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_aa12a9874d2b0308994c3fa651cdbbd61.html#aa12a9874d2b0308994c3fa651cdbbd61">krpc_add_cb</a></td></tr>
          <tr><td class="navtab"><a class="qindexHL" href="a00066_a51bbf2caf4916c0c08d8c8d8d86e562e.html#a51bbf2caf4916c0c08d8c8d8d86e562e">krpc_call</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_aa7109e23eab2e74945868adf0b60132b.html#aa7109e23eab2e74945868adf0b60132b">krpc_call_type_e</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a5d55f838d222f44965d99eac9a0381c1.html#a5d55f838d222f44965d99eac9a0381c1">krpc_create</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a76529ccab5c6f0ada79cac791e299ef9.html#a76529ccab5c6f0ada79cac791e299ef9">krpc_del_cb</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_ab07c8ccf1abc99b85f455a2f4280ac76.html#ab07c8ccf1abc99b85f455a2f4280ac76">krpc_destroy</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a7841a0b4c828efcb607a51bbdd9c9ab1.html#a7841a0b4c828efcb607a51bbdd9c9ab1">krpc_get_cb</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_aaadecef3a6bd120b41aee1916b5854d0.html#aaadecef3a6bd120b41aee1916b5854d0">krpc_header_t</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a9c94cce18fdcbb5e184af7f2ea20cceb.html#a9c94cce18fdcbb5e184af7f2ea20cceb">krpc_proc</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_aa75ec66092e77639ca2cf2b5ad04c5db.html#aa75ec66092e77639ca2cf2b5ad04c5db">krpc_set_decrypt_cb</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00066_a5317bb571cb4d94bc56b83989c1b10c2.html#a5317bb571cb4d94bc56b83989c1b10c2">krpc_set_encrypt_cb</a></td></tr>
        </table>
      </div>
   </td>
   <td valign="top" class="mempage">
<a class="anchor" id="a51bbf2caf4916c0c08d8c8d8d86e562e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int krpc_call </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00044_a1e414ac6f6de24462ccf81e10f63428d.html#a1e414ac6f6de24462ccf81e10f63428d">krpc_t</a> *&#160;</td>
          <td class="paramname"><em>rpc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00044_a261dba04f46f5c59a68a05f69f5a65a8.html#a261dba04f46f5c59a68a05f69f5a65a8">stream_t</a> *&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>rpcid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00044_a9c07dfc8c3b965f75b09f82fdb1bbb1e.html#a9c07dfc8c3b965f75b09f82fdb1bbb1e">krpc_object_t</a> *&#160;</td>
          <td class="paramname"><em>o</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发起RPC调用 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rpc</td><td>krpc_t实例 </td></tr>
    <tr><td class="paramname">stream</td><td>数据流 </td></tr>
    <tr><td class="paramname">rpcid</td><td>回调ID </td></tr>
    <tr><td class="paramname">o</td><td>参数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">error_ok</td><td>成功 </td></tr>
    <tr><td class="paramname">其他</td><td>失败 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
    </td>
  </tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 七月 9日 星期四 15:26:51 , 为 knet使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
